/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package lab4;

import algorithms.Context;
import algorithms.DepthStrategy;
import java.util.ArrayList;
import operators.WaterCupOperators;
import templates.Operator;
import templates.State;

/**
 *
 * @author morar.ciprian
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
       ArrayList<Operator<WaterCupState>> waterCupOperators=WaterCupOperators.returnOperators();
       State<WaterCupState> waterCupInitialState=WaterCupState.initalState();
       ArrayList<State<WaterCupState>> waterCupFinalState=WaterCupState.finalStates();
       String WaterCupDepth="WaterCupDepth.txt";
       Context<WaterCupState> w;
       w=new Context<WaterCupState>(new DepthStrategy<WaterCupState >());
       w.executeStrategy(waterCupInitialState, waterCupFinalState, waterCupOperators, WaterCupDepth);

    }

}
